<%@ page language="java" import="java.util.*,com.training.commons.SystemDate" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>管理页面</title>
		<meta http-equiv=Content-Type content=text/html;charset=utf-8>
		<meta http-equiv="refresh" content="60">
		<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js"> </script>
		<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>	
		<script type="text/javascript">
			function logout() {
				var flag = confirm("确定要退出系统?");
				if(flag){
					jQuery.post("<%=basePath%>ajax/logoutAction.action",
							function(data){
								window.location.href="/training/index.jsp";
							}, 'json');
				}
				return flag;
			}
			function showsubmenu(sid) {
				var whichEl = eval("submenu" + sid);
				var menuTitle = eval("menuTitle" + sid);
				if (whichEl.style.display == "none") {
					eval("submenu" + sid + ".style.display=\"\";");
				} else {
					eval("submenu" + sid + ".style.display=\"none\";");
				}
			}
			function showsubmenu(sid) {
				var whichEl = eval("submenu" + sid);
				var menuTitle = eval("menuTitle" + sid);
				if (whichEl.style.display == "none") {
					eval("submenu" + sid + ".style.display=\"\";");
				} else {
					eval("submenu" + sid + ".style.display=\"none\";");
				}
			}
		</script>
		<link href="images/skin.css" rel="stylesheet" type="text/css">
	</head>
	<body leftmargin="0" topmargin="0">
		<table width="100%" height="64" border="0" cellpadding="0"
			cellspacing="0" class="admin_topbg">
			<tr>
				<td width="48%" height="64">
					<img src="images/logo.gif" width="262" height="64">
				</td>
				<td width="52%" valign="top">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="74%" height="38" class="admin_txt" style="font-size: 15px;">
								<b style="color: #008B8B;">当前用户：骚勇</b>&nbsp;&nbsp;
								<b style="color: #DAA520;">身份：系统管理员</b>
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								<font style="color: #90EE90;"><%=SystemDate.getCurrentDate() %></font>&nbsp;&nbsp;
							</td>
							<td width="22%">
								<a href="javascript:;" target="_self" onClick="logout()">
								<img src="images/out.gif" alt="安全退出" width="60" height="20" border="0"></a>
							</td>
							<td width="4%">
								&nbsp;
							</td>
						</tr>
						<tr>
							<td height="19" colspan="3">
								&nbsp;
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>

